package cn.stylefeng.guns.modular.business.frequency.siterelation.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 网点人员关联表
 *
 * @author yujie
 * @date 2023/05/10 16:16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tt_site_relation")
public class SiteRelation extends BaseEntity {

    /**
     * 租户号
     */
    @TableId("id")
    private Long id;

    /**
     * 乐观锁
     */
    @TableField("del_flag")
    private Integer delFlag;

    /**
     * 网点人员id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 网点id
     */
    @TableField("site_id")
    private Long siteId;

    /**
     * 网点提成id
     */
    @TableField("award_base_id")
    private Long awardBaseId;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id",fill = FieldFill.INSERT)
    private Long tenantId;
}
